Replace some redundant built in functions
Add another alias test case
Fix a bug with aliases in sensitivity lists