Strategy design pattern - test.