updated rspec shoulds to expect blocks and added private to class