add test and fixtures (incomplete version)