test(_specs): Add types, follow coding conventions