Attempted to fix threadding, but specs fail :-(
Fixed problem with specs because DatabaseCleaner couldn't handle the threads and so on.
Threadded-test extracted to a method.
Merge pull request #4 from kaspernj/kj/fix_threadding

Threadding fixes