Added some test functions.