updated the test bench a bit and fixed some syntax errors