(#1438) - Migrate basics tests to chai and fix setup / teardown