Tested synchronized with a dummy static function being called in threads. Also other normal functions of same class can be called parallely by threads