Added tests for Soql queries