changed unit test to find potential by id, which is cheaper