reworked tests to not create scheme definitions. Added user models and
controlllers for testing.