add tests for application