Added deconstructive binding to test cases