Implementation of basic test for Contact