Got rid of the registered flag as the test is expected to fail and it should not affect any other tests
Got rid of 'registered'; Docstrings added