Updates test and documentation