Add test for reference on bean with constructor setting properties