added parameters for test and array size
changed cub path to use a link, removed werror flag which was causing odd compile failures on my ancient macbook