Token share test class bugfix