Compilation and test