Fixed broken test, and added recursive test