Override subroutines in a module for unit testing
