Added a main loop for a more complete test