got straight java test to work with text and video