Fix the BSD license notice and add more server tests