fixing bug in assertEmpty and adding validate_responds