refactored nodes stats integration test to ignore non-data nodes