added unit tests for prototypeDependencyValidation