Match state test