Added initialize and rspec tests