add Plan binding and tests on single rank

passes all tests.