add tests for link model
add more integration tests