function abs tests