Fix managesf unitests really long to run

Mock a function that add really long delay
during tests.

Change-Id: I3757ee7ee4e0890b45e3325e24802d05df761e43