Install OS X 10.7 to 10-10 on MacBook Air MD232
Hardware Requirements

Every Mac has a minimum supported operating system. Older versions of OS X will not run on a Mac with a higher minimum.

For example, the MacBook Air (Early 2014) requires OS X 10.9.2 or later.

EveryMac has a comprehensive list of Mac models and their minimum supported OS X.

Virtual Machines

To work around this, consider using a virtual machine for your testing; VMware Fusion, Parallels, and VirtualBox are all reasonable choices.