core_test: one test had rid and tid mixed up

Signed-off-by: David Scott <dave.scott@eu.citrix.com>