add .gitignore and testsuite for blockmatrix