Added a rspec helper and cleaned up the static testing.