added last tests, worked on documentation