more tests
documentation, fix fatal error