Added missing test for text inspection