add test with mock and spy
add test