Add command line parsing in the pr calculation tester