updating test for forward referneces