tests: deep conditions nesting