(bug 42638) Fix API action=options&reset=1 & unit tests