added linking with settlement

also test settlement was created