Minor test and documentation improvements