improved unit tests for metric, some refactoring
created method to write times to disk, added it to generation of new dataset