precompile and test