Added docs to functions
Added test for value equality
Added test for window exist