some tests for refactored modules that still need to be reviewed and tested.