fix for leave application test