add offset manager test