added testcompile, some minor fixes