Got some tests and functioning code done