No, it is not typical.  I only did this for testing purposes, but maybe the smarter thing is to get rid of that and work around that in tests somehow.