knights test-file converted to rspec