modified compoundtest