Changed the return type to of detectSpeed to Double

Signed-off-by: Ondrej Skopek <skopekondrej@gmail.com>
Added a non-finished FileSaveBatchTest

Signed-off-by: Ondrej Skopek <skopekondrej@gmail.com>