Vaadin MongoDB Java Test. I hate my code. Dirty.