Switch to relative scope (better for reusable component)
Portions of code moved from specs to tests-utils.js and tests-module.js.
Renaming for better comprehension.