added module ui and fixed some tests which were failing sometimes