Put megatest into wrapper