fixed test "getAll"