Enable implicit conversions in core tests

This removes warnings when compiling core tests.