changing to array of deals objects
adding more tests