added a test for the combinations function