replace panic by log.Fatal in tests
Merge pull request #2145 from dotcloud/remove-panic-test

* Runtime: replace panic by log.Fatal in tests