Run tests by compilation