Fix and finish deserialize-serialize tests

[#43089109]

Now it's implemented using Mocha and CoffeeScript, it also tests
pairwiseLJProperties equality.