PEP8 fixes.
Avoid loading product_details json in tests.
[Fix bug 1093578] Add travis support.