Added base support for unit tests (see http://check.sourceforge.net/ for details). Signed-off-by: Slava Zanko <slavazanko@gmail.com>