migrated to rspec