restored tests