Adding tests run via karma to ensure the facetfilter is returning what we expect

Signed-off-by: Andrew Lowther <andrew.lowther@mademedia.co.uk>