Also added end to end tests for single segment HLS and multi-segment HLS. Fixes #276 Change-Id: I27e5d57cdc3ab79a8e5ae0c3a8da46fcf2c467b6