Hacked a solution to deeply nested code finding test.