Added test for bind and afmap and it passed