Fixes #11.

Added new API for ELF file testing. Test included.