exchanged 'if' with 'assumeTrue'

skip jemmy tests depending on headless