added first draft of contract tests