adding wrapped compile method and test