contains.h: add test case for compatible. remove unnecessary headers.