update cube browser tests to use reftests
make some gl tests more forgiving