Moar tests and updated documentation