tests working (partially)