retrieve metadata tests with bad token values