wrong toEqual test, fixed it