added tests. updated readme and meta/main