Unit test for the Strategy behavioral design pattern.