pgmagich test case