updated Rest Controller tests