wrote more Chai tests