Test case for once.