Add an integration test

Signed-off-by: Igor Popov <igor.popov89@gmail.com>
Make methods non static

Signed-off-by: Igor Popov <igor.popov89@gmail.com>
Add first unit test (validations)

Signed-off-by: Igor Popov <igor.popov89@gmail.com>