Add hsv conversion tests
Fix build error