json tests
using active model serializer