Tests for connection table and record