fixed bug in testbench and updated gitignore