Add queryAmount var to determine number of queries run
Remove test