New approach on almost-equals tests