Added rspec tests/$manage_repo backward compatible

Added some rspec tests after reintroducing $manage_repo in order to make
the module backward compatible, while still retaining the use of
$repos_ensure.