make it aware of xrandr changes
add pre-tests