writing tests for data_types, tools and common