Updated documentation
Improved coding consistency
Improved test reporting