added some unit testing, one for the service and one for the controller... but the latter doesn't work yet