extended tests to have expected outputs

added virtual call test
parse and validate interface