Add basic test and implementation.