Begin AbstractView tests; tidy up code.