Added more hidden unit test for attributes and json.