Added functions to the test.