Fix test structure (convert indentation to spaces, move supported to setup if possible, remove unused code).