remaining tests and docs