preventDefault() on form submit
rm ws
refactor tests to make them independent