test implementation of AT cmd function