Added test loop to main()

Signed-off-by: Mike Lewis <mikelewis@alphalem.com>