put mocha-config in separate file
add karma auto-unit-test support