replaced assertEqual with expect and toBe