added first rspec test

alot of deprecated stuff