Added docs for kernel text functions
Added simple unit test support