added initialize tests
added initialize rspec tests
added tests for each public method