fix truthy assertions in array specs