change test program name to swarm_test
implemented external module framework