avoid creation of pos objects (only in test cases)