migrating oscmessage tests to mocha