rlib is only used in tests