#227 adding some unit test