Separate HTML *markup* from test running code

See #8.