tests working on #776