starting mesh tests, fixed some relation bugs