Added test for direct conversion func