Add test cases for implicit injection on support fragments; fix bugs