rspec for invoice model