Added tests for status database table