Moved localStorage test to its subdir
Added a simple encoding test