Simplified test using JMockit injection