tests: Test Object to Number conversion
include: Move Object to Number conversion to C++ space