Implemented a seemingly pure and clean unit-test