Added return javadoc comment to test method