Added test bed and leak checker