added failing tests for proper wait_for behavior