Revert "Port the "test" lib to CommonJS style"

Reverts BladeRunnerJS/brjs#780