add unit test for custom spring enabled task