Add q_testorange into database.sql