move inspect test into own cpp