Fixed some minor inconsistencies in tests
Minor corrections to documentation