Unit-testing applied