Corrects some coding style issues in test_windowlayer.

Signed-off-by: Axel Davy <axel.davy@ens.fr>