Amended to use Chai's expect(), not assert()