added test for error helper
fixed path to tests