tests/gobject/performance: Clean up and add refcount performance test