Refactor specs

Refactor the spec files to use the newer RSpec let, shared_context, and
shared_example syntax to remove redundancy and improve readability.

Remove unused and incorrect default_spec.rb file.

Change-Id: I9521cfb49e38d6b59a00ed833ffbd8129e3ac1f6