After #103, the pytop5js.py file now has more logic attached to it. Since this file is transcribed to JS code, the proper way to test it would be with acceptance tests. For those we can use the splinter project with a headless selenium webdriver.
The main tests scenarios would be: