Use scanner instead
Do not export all the properties in group and peer

Added test case for group and peer