Improve RSpec test code granularity