more & better tests
added docs