indentation fix and error messages added to the assert calls