A few more comments for scope_check test
Refactored AMD compiler to use mostly CJS wrapper

Kinda broken due to #105