Move create_test_description to its own file

Created with spec/helper/shared_test_methods.rb a place for methods which
are used for unit and integration tests at the same time.

This prevents us from duplicating the code for create_test_description.