Added a test suite to ensure the same behavior.