fix json serialization for tests list
fix duration