tests for all methods so far