test compile method result.