small fix for test and added description of method