Added tests. Errors currently.