Updated recursive test