Added initial speed test code