Implement few methods with according unit tests.