tests and minor html work