relationships working with tests