Fixed the tests and added a non update mode.