moved tests to chai assertions
moved to chai assertions