Add full stop to expected error message