If you put your subroutines into a module ...
... you can import them into any program ...
... including a test program ...