New test: reveals race (found by Volker) when open occurs during transaction commit.