jv23358's unit tests