removed duplication in test
where with field alias
added integration test for where using aliases