First example with unit testing