Added reset function.
Fixed error at test testId when executed from maven.