Add test for class method impl
Need bytes for PY3