fixed eunit tests by adding a sleep for 1 second