Base class with standard test methods for every controller

See #583