Added unit test with Sinon mock to slides