If-else-false test passing