add test case for backward compatibility