Fix various style issues found during the review.
Use "not in" instead of "not something in" in conditions.
Indent conditions properly after line breaks.
Do not create useless mmd objects in test methods.
Use for loop instead of multiple test_object_value calls.