improving readable tests and adding writable tests