clean up test style and add a bit of documentation