Added test loop.