Added support for binding annotations in test methods.