Improve webapp test