function achieved, need to fix test