added additional test cases in preparation of changing the beans auto config code again