Fixed tests and made some example tests