adding apbar command priority unit test