added more unit tests

also fixed the lack of an addArg(type,name,desc)