IRGen: Add more tests for dll attributes