junit tests for non-func implemented