Test and fix favorite servlet