Initial implementation.
Added test task.