Added tests for dealing with slugs without prefix.

Relates to spree/spree_static_content#98