More documentation, fixed broken test