added atom support
added test script