Small changes to tests and trying out how to test the Javascript.