working on test cases with chai