convert alfresco-amp integration tests to testng
fix to run alfresco-amp with functional test profile correctly