Added some misc stuff

Some tests, fab stuff, and docstrings