Setup entities and RSpec testing