Test db model first feature

Hello, here is a test feature branch with my added tests for issue 44 https://trackable.codeplex.com/workitem/44

thanks in advance for having a look at it.