solved test waiting for input