Fixed Tests, removed getCode Method