Add more tests for plugin installation
diff --git a/tests/install-plugins/Dockerfile b/tests/install-plugins/Dockerfile
index ad1db16..9d4f63d 100644
--- a/tests/install-plugins/Dockerfile
+++ b/tests/install-plugins/Dockerfile
@@ -1,3 +1,3 @@
 FROM bats-jenkins
 
-RUN /usr/local/bin/install-plugins.sh maven-plugin:2.7.1
+RUN /usr/local/bin/install-plugins.sh maven-plugin:2.7.1 ant:1.3
diff --git a/tests/plugins/plugins.txt b/tests/plugins/plugins.txt
index 712d603..b3d77a9 100644
--- a/tests/plugins/plugins.txt
+++ b/tests/plugins/plugins.txt
@@ -1 +1,2 @@
 maven-plugin:2.7.1
+ant:1.3
diff --git a/tests/tests.bats b/tests/tests.bats
index f3096a1..6ac7fd0 100644
--- a/tests/tests.bats
+++ b/tests/tests.bats
@@ -52,13 +52,15 @@
 }
 
 @test "plugins are installed with plugins.sh" {
-  docker build -t $SUT_IMAGE-plugins $BATS_TEST_DIRNAME/plugins
+  run docker build -t $SUT_IMAGE-plugins $BATS_TEST_DIRNAME/plugins
   assert_success
   # replace DOS line endings \r\n
   run bash -c "docker run -ti --rm $SUT_IMAGE-plugins ls -1 /var/jenkins_home/plugins | tr -d '\r'"
   assert_success
   assert_line 'maven-plugin.jpi'
   assert_line 'maven-plugin.jpi.pinned'
+  assert_line 'ant.jpi'
+  assert_line 'ant.jpi.pinned'
 }
 
 @test "plugins are installed with install-plugins.sh" {
@@ -69,6 +71,8 @@
   assert_success
   assert_line 'maven-plugin.jpi'
   assert_line 'maven-plugin.jpi.pinned'
+  assert_line 'ant.jpi'
+  assert_line 'ant.jpi.pinned'
 }
 
 @test "clean test containers" {