Refactor to include a sample element and a few realistic tests

Note: You'll need to rename the project directory to `my-element` or else the `index.html` file will no longer work.