Added a first test code.