'Test the encoder out of its original constrained purpose to see if it functions for general use'

def test_ooc_encoder(self):

    details = {'number': 1, 'string': 'string', 'datetime': datetime.datetime.now(UTC())}
    jsondetails = json.dumps(details, cls=CourseSettingsEncoder)
    jsondetails = json.loads(jsondetails)
    self.assertEquals(1, jsondetails['number'])
    self.assertEqual(jsondetails['string'], 'string')
