rest simple test without services and repositories