fix setItem implementation for undefined values
Fix export bug
tests updates