added tests for contract list