Add a test to verify type conversion works