add ctest for squid which should be general and easy to be extended