Add sleep to test

Add small delay to a test so that accounting records can get propagated
to the slurmdbd before we use sacct to view them.