computed function tests