Added test for backward compatibility