Added tri number loop test