ISPN-4679 need to check if bundle is null from weak reference
Test that replaying a prepare command doesn't acquire the lock twice