Add a method to check the provided types of arguments

To correctly convert command line arguments during arg parsing we need to provide
their types.

Tests:
Convert argument during parsing

By using the provided types list we add the required type to the
add_argument method.

Tests:
Add tests to check args are correctly parsed

Test types, value etc...

Tests: