fixed documentation and tests, removed extra generated files #221