Test recursive and empty methods