Fixed removed query APIs
Fixed remaining tests
Version bump to 0.7.0