It would be good to have tests for this class.