correcting simple tests and adding ettestgetwidmasterserver test function