#73 added test case for qualified relations