Add test case for @JoinColumn