migrated to mocha and chai

migrated to mocha and chai