Testing ActionBar in Android development