edit junittest
added new function