change chai to should; fixup test