More explicit module dependencies and update regression testing