fixing interface bug, adding some proper tests
adding support for interface properties