added functions tests