debugged the jUnit test for my insert function. It should be working and it doesn't seem its going to an infinite recursion.