Adding tests for validating with no main method and project type that isnt jar