- Enhanced unit test to check the release flag as well.