fix tests for API level 10