Added tests for dot queries