Unittests to onehundredpercent coverage

Not quite 100% yet, i'm also fairly sure i went a little overboard here. I'm just exercising here... :-) shoot please