Added some unit test facts
Added some proper docs