Failing Unit Tests on bean loader