Test-JAMSAgent merge

Added the source for Test-JAMSAgent