added test to active_transations scope