attempt at rspec tests...