feat(middleware): add static file serving
fix(middleware): improve pings detection
fix(tests): diversify test files
test(middleware): add view testing
test(core): improve test coverage