Added sentence capitalization and periods in tests/ error messages.