Add rspec test
raise error when specified target is not found