Fixed docs line, added tests