apidoc and get moments updated, now for the tests