Improved status page tests. Refactored webpages