added proper test