fix PBSPro bug discovered with tests
update tests and fix bug discovered with tests