Added tests for Obs and Rest