update testing doc a bit
fix tests to not sometimes fail due to map ordering