Adding a sample Custom JSONEncoder class for tests
Adding view and url for testing  attribute
Adding test for json_encoder_class attribute