Issue #973: Add a test
Issue #973: Add expected .src and remove _fail
Fix #973 by using the type from the argument, not the type of the parameter (which might be an out-of-scope type parameter)
Add forgotten copyright header
Issue #974: Add a test
Issue #975: Add tests
Move jboss-modules.jar from lib to repo.