New test method has been added with junit test