more test passage and docs