fix(website): added tests, fixed bugs