added test for query
updated test for new gotasku problem from database