updated config added tests