implemented tests for get and post
fixed automatic parenting issue
added tests and fixed some issues