test according to rails tutorials