move chai requirement into the test file itself