Fix logan specs and rspec setup