[Unittests] Wrote a bunch for some (border) case issues