Refactor: test code: test code became more simple.