Initial import of test functions.

In the future, we should test if invalid inputs fail and not just if
valid inputs pass.