Started implementing error provider. Added test for validator