Fix for RSpec

Compatibility with RSpec 3
Add helper for synchronous queries
Merge pull request #2 from digineo/synchronous

Helper method for synchronous query