Test trial repository