add some delay to a test to make it working in travis