Add test case for improper conversion