cleaned up constructors
added test for incomplete insert