add serverconfig tests
change component api