Added some tests for interfaces.
Merge remote-tracking branch 'origin/master'