working pom4 testing for output