whoops
added tests.py, fixed stuff!
bug fixes