Add a requirement for testing
Fix hashrate accounting for frontend