Used Class.new for error classes
Rewrote claims.rb class and added tests