converted all tests to hspec