Removed initialized check in declarations and corrected range unit test