wrote test in v0.12.2 style