Fix functional tests

- added check for null blocks
- removed payment tests from functional tests since special credentials are needed
Can you set your IDE indentation preferences for tabs instead of spaces? That will line up with our coding practices in this project. You can find them in Intellij preferences, Code Style, Java, Tabs and Indents.