fail test when jfx initialization fails, no endless loop

solution of Issue #1

hard to test but it seems to work ;-)