correcting license and added unit tests for missing structure predicate