refactored plugin tests to use BDD mocha-cakes