Add third test case

If the first case is valid and the second case is valid, then the third case should also be valid.