Add tests for value converters.
Refacrot tests.