Added a simple test and fixed error raised if we cannot process arg type