Add tests for ApplicationSqlDao