relocated test code to more appropriate place, and added
check_interleaving target to Makefile to invoke it.