Fixed tests and footer blocks. Tests are passed