Fixes specs tests