Add tests for PHP, JSON and YAML config adapters. Fix issue with PHP adapter and add YAML adpater.