Fix bug in Apriori
Update tests to catch more bugs