Test Ray Main