Update chai

Add the use method for chai, including a test.