have to compare 'manually' due to changes in how toEqual works in Jasmine 2.0