modified Controller test