Add extra new line at the end where needed.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Add TestMagic_FlagsArray() implementation.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>