Fix a small bug in tests
Add some documentation