added documentation
minor bugfix in testtools