fixed error with unicode error message in failure

also skip selenium test, if selenium not installed