Added wrapflow test, in AMD format - fixes #786