* Display type correctly for array if obj passed as an array * Narrow the test case for `should throw an error if data is an array`