Added reference testing