added test and chai