Changed optional to tests

https://github.com/horn3t/PerformanceControl/commit/ed0184776a5d188b788d0d84bbaeafc228140f18