Implemented Beacon and skeleton c test code