Add test mode, used for CI builds to do a quick run