Changed values for unittests
Fixed warnings

Mainly implicit conversions