relations + tests