added more tests, made documentation more comprehensive, version => 2.011