add unit tests for CPE method
add unit tests for CPE method

Signed-off-by: Samuel Dacanay <600ff55f21d6ff32f29d8ef60f49bc6b12380523@anchore.com>

anchore/anchore-engine,anchore/anchore-engine,anchore/anchore-engine