Test improvements and check vulnerabilities on create and version changes