[feature] added test program arguments reading so it's easier to test the lib