adding more tests
working through tests and doc