added test and updated config