Fixed bug in test on compiler with no rvalue refs