added new karma config. Added unit tests for shape rendering