Task B2. Add some unit tests