added basic controller end-to-end testings