add unit and e2e tests, and HTML/CSS for details page
filter with tests, and fix json