Added unit tests for "as" keyword.