Added documentation
Corrected formating in tests