Fixed domain issue in singfuntest