Fix indentation and assert test