Adds a test for the alternate function
Adds a test for the partial function and makes it pass