deprecated functions test
method tests, some fixes