Move run all tests tool to library