Improve invalid conversion test