Documentation updates, more tests