added some tests for source
set up rspec classes