fix broken tests, add configuration methods