Fleshed out tests and added basic benchmark