Unit testing weld

First draft of a unit test with Weld. Uses a Semaphore - which is quite ugly, but I did not find an easier way to track the state of the fx app thread.