Updated default test task.
Added comment for two internal functions.
Added more tests