added model tests
added routing tests