Completed documentation
Test cases and fixed discrepency behaviour np_format_as and _format_as