Add in option for bottom or top position, and unit tests to go with it