fixed handleDetails behaviour and some tests