Adding in some basic factories and tests.