set rspec and write init tests
set rspec and write init tests