Adds initial validation tests

This is tricky!