moved to chai expect as assert was passing a test it shouldn't