Added proper tests for AND and OR gates. Bias unit now included properly.