test for checking state based on previous answers