Fluid modals: fixing JS unit tests