Added a function 'test'.