added test (not complete yet).