Removed infinte test loop.