add new test and sql query to model