[WIP] Migrate legacy test 1

Migrate legacy test 1 #1286 to lua/busted, as mentioned in #1286.