added: ex8 unit tests