We'll be using nose for testing purposes.
The basic premise is simple. Write a file that imports solely the modules you want to test.
Write one test for each type-support that you want to be able to check.
From this guide,
we have the following example of ensuring that a user-defined function multiply
operates the way it is intended to: