test with return nested ok