Bug fix + rspec 3 syntax

  closes #113