Small refactor of score.rb
Refactor spec_hit.rb
Bugfix: incorrectly named variable