Allow case-insensitive register names
Update test with new error message