Test get_type_of_cell function

This untested unit came up reviewing coverage reports.