refactored the tests to reflect business logic correctly
set up correctly reflects pre-condition
now we can call the module function