remove white space on convert to switch tests