updated docs and extended testing slightly