Test ams with amfphp connection.