Added a test to check we clear the job identifier given to the legacy
queries
Made sure we clear the database before each test. Added tests to make
sure we can delete a legacy query and view the parameters of it
Check we can edit the BLAST program of a query, had to make right
spinner was used in the test
Re arranged the test and made sure right editable view was tapped
Moved the tests to make it a bit more readable