implemented first unit tests
added controller test, incomplete