adds belong to and have many tests