Mock Test- Relations and Functions