Tests

* application test
* controller test