spring compatibility

spring in test will fully reload things, so we need to be careful about
introducing infinite recursion with alias_method_chain