Added some test code.