switch to shared behavior in test cases