Added unit tests for the coefficient class