remove unused helper function in theme test views