enable import in test scripts
move implementations from header to source