added working recursive function tests