Add test for 8bit-clean encoding mode

Signed-off-by: Anton Lofgren <alofgren@op5.com>