move test requires to common.js