FEATURE: CL-1545 Basic AIT/mocha tests

Tests for AIT mocha support. Wrapped #beforeEach, fixed #before
behavior and #after behavior. Fixed Fiber code.