creating tests and docs