added new test code for once account