added properties middleware test