WFLY-1533 Add test case